package com.macro.mall.portal.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.macro.mall.query.BaseQuery;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 观光车图片参数
 * Created by macro on 2018/4/26.
 */
@Data
@EqualsAndHashCode
public class BmsExhibitionsActivitiesParam extends BaseQuery {
    @ApiModelProperty("主键")
    private Long id;

    @ApiModelProperty("标题")
    @NotNull(message = "标题不能为空")
    private String title;
    @ApiModelProperty("展览类型（字典表维护）")
    @NotNull(message = "展览类型不能为空")
    private Long type;
    @ApiModelProperty("开幕时间")
    @NotNull(message = "开幕时间不能为空")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date openingTime;

    @ApiModelProperty("是否长期：0-否；1-是；")
    @NotNull(message = "是否长期不能为空")
    private Integer isLongTem;

    @ApiModelProperty("结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date closeingTime;

    @ApiModelProperty("举办地址")
    private String address;

    @ApiModelProperty("是否免费：0-收费；1-免费；")
    @NotNull(message = "是否免费不能为空")
    private Integer isFree;

    @ApiModelProperty("费用")
    private BigDecimal cost;

    @ApiModelProperty("描述")
    private String description;

    @ApiModelProperty("VR地址")
    private String vrUrl;

    @ApiModelProperty("封面图片")
    private String coverPic;

    @ApiModelProperty("创建人")
    private Long createUser;
    @ApiModelProperty("创建时间")
    private Date createTime;
    @ApiModelProperty("更新人")
    private Long updateUser;
    @ApiModelProperty("更新时间")
    private Date updateTime;
    @ApiModelProperty("备注")
    private String remark;
    @ApiModelProperty("删除标记")
    private Boolean isDelete;

    @ApiModelProperty("展览活动实景图图片路径")
    @NotNull(message = "展览活动实景图不能为空")
    private String pic;



}
